package com.grouplay.service.impl;

import com.grouplay.dao.IInvitationDao;
import com.grouplay.entity.Invitation;
import com.grouplay.service.IInvitationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("invitationService")
public class InvitationServiceImpl implements IInvitationService {
    @Autowired
    private IInvitationDao invitationDao;

    @Override
    public List<Invitation> inviteMe(Integer id) {
        return invitationDao.inviteMe(id);
    }
}
